home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
u_man
/
cat1
/
X11
/
rgb.z
/
rgb
Wrap
Text File
|
1998-10-20
|
3KB
|
67 lines
RRRRGGGGBBBB((((1111)))) XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 4444)))) RRRRGGGGBBBB((((1111))))
NNNNAAAAMMMMEEEE
rgb - convert a rgb spec file to ndbm files
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
rrrrggggbbbb
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
_r_g_b reads the standard input and writes ndbm files
/_u_s_r/_l_i_b/_X_1_1/_r_g_b._p_a_g and /_u_s_r/_l_i_b/_X_1_1/_r_g_b._d_i_r. These files
are suitable for use by the X server.
The expected use of _r_g_b is to support custom modification of
/_u_s_r/_l_i_b/_X_1_1/_r_g_b._t_x_t. Typically, it is used by invoking:
rgb < [path]rgb.txt
_N_O_T_E: You must have permission enabling you to write the
files in /_u_s_r/_l_i_b/_X_1_1. Typically, this means running as the
Super-User.
RRRRGGGGBBBB....TTTTXXXXTTTT FFFFOOOORRRRMMMMAAAATTTT
The _r_g_b._t_x_t file is a list of color specifications, one
specification per line. A specification is
_R_e_d_V_a_l_u_e _G_r_e_e_n_V_a_l_u_e _B_l_u_e_V_a_l_u_e _C_o_l_o_r__n_a_m_e
_V_a_l_u_e_s are separated by whitespace. For the purposes of
this man page, whitespace means any series of spaces and/or
tabs. The _C_o_l_o_r__n_a_m_e starts from the first non-whitespace
character following the third _v_a_l_u_e and extends to the
newline, including trailing whitespace, which is
significant. Imbedded whitespace is allowed. For example,
25 25 112 midnight blue
64 224 208 turquoise
describes colors "midnight blue" and "turquoise" assuming
there is no trailing whitespace after those strings. The
space in "midnight blue" is significant.
The results of feeding _r_g_b invalid data are not defined.
SSSSEEEEEEEE AAAALLLLSSSSOOOO
X(1), ndbm(3B), su(1)
BBBBUUUUGGGGSSSS
About the only help you get in case of an error is:
syntax error on line <x>
_r_g_b always writes to /_u_s_r/_l_i_b/_X_1_1.
Page 1 (printed 4/30/98)